package strategyexample.src.yjf.children;


import strategyexample.src.yjf.behavior.impl.FlyWithRocket;
import strategyexample.src.yjf.behavior.impl.KuoKuoImpl;
import strategyexample.src.yjf.supperObj.BaseDuck;

/**
 * @author yaojianfeng
 */
public class ModelDuck extends BaseDuck {
    @Override
    public void display() {
        System.out.println("模型鸭!");
    }

    public ModelDuck() {
        flyBehavior = new FlyWithRocket();
        quackBehavior = new KuoKuoImpl();
    }

}
